package com.crm.service.saling;

import com.crm.pojo.Inandoutlog;
import com.crm.pojo.Refund;
import com.crm.vo.RefundContractClient;

import java.util.List;

import java.util.List;

/**
 * Created by dr5hx on 2018/8/24
 */
public interface RefundService {
    /**
     * 保存一个退款单
     *
     * @param refund
     * @return
     */
    public Refund saveARefund(Refund refund);
    public List<Inandoutlog> findAllBymh();
    public Refund findOneById(Long rid);

    /**
     * 获取退款单列表
     *
     * @param page
     * @param rows
     * @return
     */
    public List<RefundContractClient> getRefundContractClientList(int page, int rows);

    /**
     * 退款单总数
     *
     * @return
     */
    public Long getRefundCount();


}
